package queue

type Queue struct {
	QueueName string
	Data interface{}
	Job JobInterface
}

func NewQueue(job JobInterface) Queue {
	return Queue{
		Job: job,
		QueueName: job.GetQueueName(),
	}
}